QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    CANCard/GC/CANPar.cpp \
    CANCard/GC/canreadthread.cpp \
    CANCard/GC/cansdthread.cpp \
    CANCard/GC/canset.cpp \
    OperFun.cpp \
    equ_include/Belord_PTC_9000.cpp \
    equ_include/selffun.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    CANCard/GC/CANPar.h \
    CANCard/GC/ECanVci.h \
    CANCard/GC/canreadthread.h \
    CANCard/GC/cansdthread.h \
    CANCard/GC/canset.h \
    CANCard/GC/typedef.h \
    OperFun.h \
    equ_include/Belord_PTC_9000.h \
    equ_include/selffun.h \
    mainwindow.h

FORMS += \
    CANCard/GC/canset.ui \
    CANCard/GC/canset.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc

win32: LIBS += -L$$PWD/CANCard/GC/ -lECanVci

INCLUDEPATH += $$PWD/CANCard/GC
DEPENDPATH += $$PWD/CANCard/GC
RC_ICONS = logo.ico


